Skip to content

Upgrade Go version to 1.26.0#4301

Open
kyleconroy wants to merge 5 commits intomainfrom
claude/upgrade-go-1.26-G9DQ4
Open

Upgrade Go version to 1.26.0#4301
kyleconroy wants to merge 5 commits intomainfrom
claude/upgrade-go-1.26-G9DQ4

Conversation

@kyleconroy
Copy link
Collaborator

Summary

This PR upgrades the minimum required Go version from 1.24.1/1.25.0 to 1.26.0 across all build configurations and documentation.

Key Changes

  • Updated Go version requirement in go.mod from 1.24.7 to 1.26.0
  • Updated all GitHub Actions workflows to use Go 1.26.0:
    • ci.yml: Updated both build and test jobs
    • build.yml: Updated build job
    • ci-kotlin.yml, ci-python.yml, ci-typescript.yml: Updated language-specific CI jobs
  • Updated Dockerfile base image from golang:1.25.5 to golang:1.26.0
  • Updated developer documentation in CLAUDE.md to reflect new Go 1.26.0+ requirement
  • Added /sqlc to .gitignore to exclude the built binary from version control

Implementation Details

This is a straightforward version bump ensuring consistency across all build and development environments. All references to Go versions have been updated to 1.26.0 to maintain a unified toolchain version across CI/CD pipelines, local development, and containerized builds.

https://claude.ai/code/session_01WLKDmB7kemgPsjsj9KFEXa

Update Go version across the project:
- go.mod: 1.24.7 → 1.26.0
- CI workflows (ci.yml, build.yml): 1.25.0 → 1.26.0
- CI plugin workflows (ci-python, ci-kotlin, ci-typescript): 1.24.1 → 1.26.0
- Dockerfile: 1.25.5 → 1.26.0
- CLAUDE.md: update prerequisite version

https://claude.ai/code/session_01WLKDmB7kemgPsjsj9KFEXa
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. 🔧 golang labels Feb 18, 2026
The HTTP_PROXY/HTTPS_PROXY env vars are pre-configured in the Claude
Code remote environment and Go's toolchain respects them automatically.
Document this so future sessions don't waste time debugging module
fetching. Also improve the troubleshooting section with actionable steps.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

https://claude.ai/code/session_01WLKDmB7kemgPsjsj9KFEXa
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Feb 18, 2026
The docker test helpers checked if a container existed via `docker
container inspect`, but this returns true for stopped/exited containers
too. When a container existed but wasn't running, the code skipped
creation and went straight to pinging — which timed out after 10s.

Extract an ensureContainer helper that:
1. Inspects the container state (not just existence)
2. Runs `docker start` if the container exists but is stopped
3. Creates via `docker run` if the container doesn't exist
4. Handles the race where a parallel test process creates the
   container between our inspect and run calls

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

https://claude.ai/code/session_01WLKDmB7kemgPsjsj9KFEXa
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Feb 18, 2026
Run `go fix ./...` to apply automated code modernizations:
- interface{} → any
- Remove unnecessary loop variable copies (Go 1.22+ semantics)
- String concatenation → strings.Builder
- Manual loops → slices.Contains, maps.Copy
- strings.Split → strings.SplitSeq where applicable
- Remove redundant struct tags

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

https://claude.ai/code/session_01WLKDmB7kemgPsjsj9KFEXa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files. 🔧 golang

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments